import request from '@/utils/request'

// 查询收入项目列表
export function listSettleInItem(query) {
  return request({
    url: '/system/SettleInItem/list',
    method: 'get',
    params: query
  })
}

// 查询收入项目详细
export function getSettleInItem(id) {
  return request({
    url: '/system/SettleInItem/' + id,
    method: 'get'
  })
}

// 新增收入项目
export function addSettleInItem(data) {
  return request({
    url: '/system/SettleInItem',
    method: 'post',
    data: data
  })
}

// 修改收入项目
export function updateSettleInItem(data) {
  return request({
    url: '/system/SettleInItem',
    method: 'put',
    data: data
  })
}

// 删除收入项目
export function delSettleInItem(id) {
  return request({
    url: '/system/SettleInItem/' + id,
    method: 'delete'
  })
}
